package com.jshcbd.mvp_kt_demo.ui.main

import com.jshcbd.mvp_kt_demo.base.mvp.BaseModel
import com.jshcbd.mvp_kt_demo.base.mvp.BaseView
import com.jshcbd.mvp_kt_demo.ui.main.bean.Data
import com.jshcbd.mvp_kt_demo.ui.main.bean.FootEntity
import io.reactivex.Observable

/**
 * Created by zzt
 * 2021/8/9
 */
interface MainContract {
    interface MainViewNew : BaseView {
        /*** 显示网络请求状态  */
        fun showResult(msg: String?)
        fun setDataShowCriticToRecycleView(data: List<Data>)
    }

    interface MainModelNew : BaseModel {
        fun infoData(): Observable<FootEntity>
    }
}